package com.zdsoft.finance.meet.service;

import java.util.List;

import com.zdsoft.finance.base.service.BaseService;
import com.zdsoft.finance.common.exception.BusinessException;
import com.zdsoft.finance.meet.entity.MeetingMember;

/**
 * 参会委员Service
 * 
 * @author liuwei
 *
 */
public interface MeetingMemberService extends BaseService<MeetingMember> {

	/**
	 * 保存委员
	 * 
	 * @param meetingMembers
	 *            新增委员
	 * @param meetingProjectIds
	 *            所属项目的ids
	 * @throws Exception
	 */
	public void saveMeetingMembers(List<MeetingMember> meetingMembers, List<String> meetingProjectIds) throws Exception;

	/**
	 * 单个投票
	 * 
	 * @param meetingMember
	 *            委员
	 * @return 委员
	 * @throws BusinessException
	 */
	public MeetingMember singleVote(MeetingMember meetingMember) throws BusinessException;

	/**
	 * 批量投票
	 * 
	 * @param meetingMember
	 *            委员
	 * @throws BusinessException
	 */
	public void singleVotes(MeetingMember meetingMember) throws BusinessException;

}
